package com.leyou.search.service;

import com.leyou.common.bean.PageResult;
import com.leyou.common.bean.Result;
import com.leyou.search.entity.Goods;
import com.leyou.search.entity.SearchRequest;
import com.leyou.search.entity.SearchResult;

/**
 * @author zqq
 * @ClassName SearchService
 * @Description
 * @date 2020/3/7-18:45
 */
public interface SearchService {

    /**
     * @Title: search
     * @Description: 搜索商品
     * @author: zqq
     * @param request 参数类
     * @return: com.leyou.common.bean.Result<com.leyou.common.bean.PageResult<com.leyou.search.entity.Goods>>
     * @createTime: 2020-03-08 20:11
     * @version: v.1.0
     */
    Result<SearchResult> search(SearchRequest request);

}
